package org.jsola.hr.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseDeleteDO;
import org.jsola.core.entity.Key;

import javax.persistence.Table;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "hr_attend_overtime_rule")
@Key(UUID = true)
public class AttendOvertimeRuleDO extends BaseDeleteDO<String> {

    private static final long serialVersionUID = 1L;

    /**
     * 考勤规则ID
     */
    private String attendPlanId;
    /**
     * 加班方式 ; 1-以加班申请为准,2-以打卡时间为准,3-以加班申请核算打卡记录
     */
    private Integer overtimeType;
    /**
     * 工作日加班规则
     */
    private String workDayRuleJson;
    /**
     * 非工作日加班规则
     */
    private String nonWorkDayRuleJson;



}

